package com.ruoyi.common.enums;

import lombok.Getter;

@Getter
public enum AlarmType {
    TOP_LIMIT("topLimit", "高", "topLimitDeviceRunStatus", "topLimitAlarm"),
    UPPER_LIMIT("upperLimit", "过高", "upperLimitDeviceRunStatus", "upperLimitAlarm"),
    LOWER_LIMIT("lowerLimit", "低", "lowerLimitDeviceRunStatus", "lowerLimitAlarm"),
    FLOOR_LIMIT("floorLimit", "过低", "floorLimitDeviceRunStatus", "floorLimitAlarm");

    private final String limitField;
    private final String alarmLevel;
    private final String deviceField;
    private final String alarmField;

    AlarmType(String limitField, String alarmLevel, String deviceField, String alarmField) {
        this.limitField = limitField;
        this.alarmLevel = alarmLevel;
        this.deviceField = deviceField;
        this.alarmField = alarmField;
    }
}
